<template>
  <div class="myApplicationCell">
    <div class="icon-box">
      <img class="icon" :src="item.icon" alt="icon" />
    </div>

    <div class="right-view">
      <div class="title">{{ item.title }}</div>
      <div class="des">{{ item.des }}</div>
    </div>
  </div>
</template>

<script setup>

import { defineProps } from 'vue';

const props = defineProps({
    item: {
        typeof: Object,
        default: {}
    }
})

</script>

<style scoped lang="less">
.myApplicationCell {
  background-color: #ffffff;
  border-radius: 8px;
  width: 344px;
  height: 80px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 20px;
  box-sizing: border-box;

  .icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e5eeff;
    border-radius: 8px;
    margin-right: 12px;
  }

  .icon {
    width: 24px;
    height: 24px;
  }

  .right-view {
    display: flex;
    flex-direction: column;

    .title {
      font-size: 14px;
      font-weight: 500;
      color: #262626;
      line-height: 22px;
    }

    .des {
      font-weight: 400;
      color: #8c8c8c;
      line-height: 18px;
      font-size: 12px;
    }
  }
}
</style>
